﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// <summary>
/// Summary description for FormatUI
/// </summary>
public class FormatUI
{
    public FormatUI()
    {
    }
    public static void HightLightGrid(System.Web.UI.WebControls.GridView grid)
    {
        for (int i = 0; i < grid.Rows.Count; i++)
        {
            grid.Rows[i].Attributes.Add("onMouseOver", "javascript:highLightRowColor(this);");
            grid.Rows[i].Attributes.Add("onMouseOut", "javascript:restoreRowColor(this);");
        }
    }
}
